package net.maku.propagate.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

import net.maku.framework.common.utils.DateUtils;

import java.util.Date;

/**
 * 劳模风采
 *
 * @author 阿沐 babamu@126.com
 * @since 1.0.0 2025-03-16
 */
@Data
@Schema(description = "劳模风采")
public class PropagateWorkerVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    private Long id;

    @Schema(description = "工会ID")
    private Long orgId;

    @Schema(description = "工会名称")
    private String orgName;

    @Schema(description = "劳模id")
    private Long workerId;

    @Schema(description = "劳模名称")
    private String workerName;

    @Schema(description = "劳模等级")
    private Integer workerLevel;

    @Schema(description = "是否置顶")
    private Integer topOrNot;

    @Schema(description = "审核通过时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date auditTime;

    @Schema(description = "状态  0：停用   1：正常")
    private Integer status;

    @Schema(description = "租户ID")
    private Long tenantId;

    @Schema(description = "版本号")
    private Integer version;

    @Schema(description = "删除标识  0：正常   1：已删除")
    private Integer deleted;

    @Schema(description = "创建者")
    private Long creator;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createTime;

    @Schema(description = "更新者")
    private Long updater;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date updateTime;


}